Rails.application.routes.draw do
  resources :posts
  get 'welcome/first'

  get 'welcome/second'

  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  #首页显示
  #root 'posts#index'

  root 'welcome#first'

end
